 <#include "admin/common/include/html_head.html"> <#include
"admin/common/include/sysparam.html"> <#include
"admin/common/include/pagination.html">

<form action="${_contextPath}/Admin-ResScreenShot-show.action" id="screenshowForm"  method="post" onSubmit="return false;">
	<table class="table table-striped table-bordered table-hover"
		id="screenshotTable">
		<thead> 
			   <tr> <th style="width: 8px;"><input type="checkbox"  
											class="group-checkable" data-set="#screenshotTable .checkboxes" /></th>
				<th>标题</th>
				<th>图片</th>
				<th>排位</th>
				<th>是否有效</th>
				<th>操作</th> 
			</tr>
		</thead>
		<tbody>

			<#if resScreenPageBean??> <#list resScreenPageBean.result as screen >
				<tr class="odd gradeX">
										<td><input type="checkbox" class="checkboxes"
											value="${screen.id}" /></td>  

				<td>${screen.name}</td>

				<td> <img src="${contextPath}${(screen.imageUrl)?if_exists}" width="80" height="80" /></td>

				<td>${screen.rank}</td>
				<td><@translate paramCode=(iseffCode)?if_exists 
											value=(screen.iseff)?if_exists /></td>
											
				<td><a href='#' name="edit_action" value="${screen.id}"><i
												class="icon-edit"></i></a></td>

			</tr>
			</#list> </#if>
		</tbody>
	</table>
</form>
<@areaapagination searchFormId=''  pBean=(resScreenPageBean)?if_exists areaId='screenshotShowDiv'/>

<script> 
  	jQuery(document).ready(function() {   
  
  	 	tableMng.init('screenshotTable'); 
	});  
	
</script>

